package xu.otherapk

import android.content.Intent
import android.os.Bundle
import android.widget.Button

class MainActivity : BaseActivity() {

    override fun getLogTag() = "MainActivity"

    override fun onCreate(saveInstance: Bundle?) {
        super.onCreate(saveInstance)
        mContext?.setContentView(R.layout.activity_main)

        mContext?.findViewById<Button>(R.id.button)?.setOnClickListener {
//            Toast.makeText(mContext, "click button 222", Toast.LENGTH_SHORT).show()
            mContext?.startActivity(Intent(mContext, SecondActivity::class.java))
        }
    }
}
